package nix.demo8.service;

import java.util.List;

import nix.demo8.dao.Dao;
import nix.demo8.domain.City;
import nix.demo8.domain.Province;

public class Service {

	private Dao dao = new Dao();

	public List<Province> findAllProvince() {
		return dao.findAllProvince();
	}

	public List<City> findByProvince(int pid) {
		return dao.findByProvince(pid);
	}
}
